package com.qf.pojo.req;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


//请求类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class XcUserReq {

    private Integer id;

    private String userName;

    private String password;

    private String email;

    private String realName;

    private String sex;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date birthday;

    private String userIdCard;

    //前端邮件验证码
    private String code;

    //修改密码时验证的老密码
    private String oldpassword;

}
